

<script  setup>
import { inject } from 'vue'
const num = inject('n')
import Child from './Child.vue'
</script>
<template>
  <div>
    御剑乘风来,除魔天地间!===vue3==setup非语法糖格式==={{ num }}
    <Child></Child>
  </div>
</template>
<style lang='less'  scoped>
</style>